package List;

import java.util.LinkedList;

public class QueueDemo {
    LinkedList list = new LinkedList();
    public void addElement(Object obj) {
    list.add(obj);
    }
    public Object getElement() {
        return list.remove();
    }
    public boolean isNull() {
        return list.isEmpty();
    }

}
